package mdt.model;

import org.tigris.gef.base.Editor;
import org.tigris.gef.base.FigModifyingMode;
import org.tigris.gef.base.ModeFactory;

public class ModeLabelDragFactory implements ModeFactory {

  /**
   * @return The created ModeLabelDrag instance.
   * @see org.tigris.gef.base.ModeFactory#createMode()
   */
  public FigModifyingMode createMode() {
      return new ModeLabelDrag();
  }

  /**
   * @param The editor to create the mode in.
   * @return The created ModeLabelDrag instance.
   * @see org.tigris.gef.base.ModeFactory#createMode(org.tigris.gef.base.Editor)
   */
  public FigModifyingMode createMode(Editor editor) {
      return new ModeLabelDrag(editor);
  }

}
